package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import java.util.Date;
import java.util.List;

import static org.jsola.core.example.BaseExample.*;
import static org.jsola.hr.example.TreatmentDisposeTemplateExample.E_EVENT_TYPE;
import static org.jsola.hr.example.TreatmentDisposeTemplateExample.E_TEMPLATE_NAME;
import static org.jsola.hr.example.TreatmentDisposeTemplateExample.E_TEMPLATE_TYPE;
import static org.jsola.hr.example.TreatmentDisposeTemplateExample.N_EVENT_TYPE;
import static org.jsola.hr.example.TreatmentDisposeTemplateExample.N_TEMPLATE_NAME;
import static org.jsola.hr.example.TreatmentDisposeTemplateExample.N_TEMPLATE_TYPE;

/**
 * 待遇处理模板
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【待遇处理模板】详情展示对象")
@Data
public class TreatmentDisposeTemplateVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = N_ID, example = E_ID)
    private String id;

    @ApiModelProperty(notes = N_TEMPLATE_NAME, example = E_TEMPLATE_NAME)
    private String templateName;

    @ApiModelProperty(notes = N_EVENT_TYPE, example = E_EVENT_TYPE)
    private String eventType;

    @ApiModelProperty(notes = N_TEMPLATE_TYPE, example = E_TEMPLATE_TYPE)
    private String templateType;

    @ApiModelProperty(notes = N_GMT_CREATE, example = E_GMT_CREATE)
    private Date gmtCreate;

    @ApiModelProperty(notes = N_GMT_MODIFIED, example = E_GMT_MODIFIED)
    private Date gmtModified;

    @ApiModelProperty(notes = N_MODIFIED_USER_ID, example = E_MODIFIED_USER_ID)
    private String modifiedUserId;

    @ApiModelProperty(notes = "编辑人姓名")
    private String modifiedUserName;

    @ApiModelProperty(notes = "模板下树形表单")
    List<FormGroupVO> formGroupTree;

}

